#include"Client.h"
#include"Test.h"
#include<nlohmann/json.hpp>
using json = nlohmann::json;
int main() {
    TcpClient client(IP, PORT);

    client.connect_to_server();
    std::string message;
    std::cout<<"服务器连接成功"<<std::endl;

    thread t(&TcpClient::rece_from_server, &client);

    main_menu(client);
    return 0;
}